﻿Public Class ClaseFactura
    Dim numero As Double
    Dim fecha As Date
    Dim formaPago As String
    Dim detalleFactura As New List(Of DetalleFactura)
    Dim total As Double
    Dim tipo As String
    Dim nroCliente As Integer


    Public Property _nroCliente As String
        Get
            Return nroCliente
        End Get
        Set(ByVal value As String)
            nroCliente = value
        End Set
    End Property


    Public Property _tipo As String
        Get
            Return tipo
        End Get
        Set(ByVal value As String)
            tipo = value
        End Set
    End Property

    Public Property _numero As Double
        Get
            Return numero
        End Get
        Set(ByVal value As Double)
            numero = value
        End Set
    End Property

    Public Property _fecha As Date
        Get
            Return fecha
        End Get
        Set(ByVal value As Date)
            fecha = value
        End Set
    End Property

    Public Property _formaPago As String
        Get
            Return formaPago
        End Get
        Set(ByVal value As String)
            formaPago = value
        End Set
    End Property

    Public Property _detalleFactura As List(Of DetalleFactura)
        Get
            Return detalleFactura
        End Get
        Set(ByVal value As List(Of DetalleFactura))
            detalleFactura = value
        End Set
    End Property

    Public Property _total As Double

        Get
            Return total
        End Get
        Set(ByVal value As Double)
            total = value
        End Set
    End Property
End Class
